# class CreateContactExtentionTels < ActiveRecord::Migration[5.1]
#   def change
#     create_table :contact_extention_tels do |t|
#       t.integer :tel_type, null: false, default: 0, comment: '手机号类型'
#       t.string :tel_no, null: false, limit: 11, comment: '手机号码'
#       t.integer :is_delete, default: 0, null: false, comment: '是否删除 1-删除 0-未删除'

#       t.timestamps
#     end
#     add_reference :contact_extention_tels, :contacts, foreign_key: true

#   end
# end
